package com.example.treehole.api;

public class ApiConfig {
    //public static final String BASE_URL="http://192.168.1.246:66";
    public static final String BASE_URL="http://101.43.249.71";
    //public static final String BASE_URL="http://192.168.43.148:66";
    //public static final String BASE_URL="http://192.168.118.116:66";

    //user
    public static final String GET_USER=BASE_URL+"/user";

    //登录注册
    public static final String LOGIN_PASS_URL=BASE_URL+"/loginForPass";
    public static final String LOGIN_CODE_URL=BASE_URL+"/loginForCode";
    public static final String GET_CODE_URL=BASE_URL+"/code";
    public static final String REGISTER_URL=BASE_URL+"/register";
    //动态
    public static final String GET_DYNAMIC_COMMEND=BASE_URL+"/publishAll";
    public static final String GET_DYNAMIC_HOT=BASE_URL+"/publishHot";
    public static final String GET_DYNAMIC_DETAIL=BASE_URL+"/publishDetail";
    public static final String GET_DYNAMIC_COMMENT=BASE_URL+"/comments";
    public static final String POST_DYNAMIC=BASE_URL+"/publishInsert";
    public static final String POST_DYNAMIC_COMMENT=BASE_URL+"/commentIns";
    public static final String DYNAMIC_STAR=BASE_URL+"/publishDetailIncrStar";
    public static final String DYNAMIC_NO_STAR=BASE_URL+"/publishDetailIncrStar";
    public static final String DYNAMIC_DELETE=BASE_URL+"/publishDel";

    //分析
    public static final String GET_EMOTION_DATA=BASE_URL+"/EA";

    //我的
    public static final String GET_DYNAMIC_MY=BASE_URL+"/publishGet";
    public static final String GET_DYNAMIC_COUNT=BASE_URL+"/countMyPublish";
}
